package cn.tk.repository.mr;

import cn.tk.model.entity.mr.OutcallCollect;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by denglw on 2021/8/18.<br/>
 * Desc: 信息采集dao
 */
@Repository
public interface OutcallCollectDao extends JpaRepository<OutcallCollect, Long> {

    /**
     * 获取会话的采集项列表.<br/>
     * @param userId 用户id
     * @param sessionId 会话id
     * @return list
     */
    List<OutcallCollect> findByUserIdAndSessionId(String userId, String sessionId);

}
